DataCollection | ComponentOne
C1.DataCollection.EntityFrameworkCore Assembly / C1.DataCollection.EntityFrameworkCore Namespace / C1EntityFrameworkCoreVirtualDataCollection<T> Class / ReplaceAsyncOverride Method
This parameter is ignored.
The item to be updated. This instance must be original item in the collection.
The cancellation token.

In This Topic
    ReplaceAsyncOverride Method (C1EntityFrameworkCoreVirtualDataCollection<T>)
    In This Topic
    Replaces the item at the specified index by the specified item.
    Syntax
    'Declaration
     
    Protected Overrides Function ReplaceAsyncOverride( _
       ByVal index As Integer, _
       ByVal item As T, _
       ByVal cancellationToken As CancellationToken _
    ) As Task(Of Integer)
    protected override Task<int> ReplaceAsyncOverride( 
       int index,
       T item,
       CancellationToken cancellationToken
    )

    Parameters

    index
    This parameter is ignored.
    item
    The item to be updated. This instance must be original item in the collection.
    cancellationToken
    The cancellation token.
    See Also